package com.shopping.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("购物车实体类")
public class Cart {
    @ApiModelProperty("购物车id")
    private Integer  cartId;
    @ApiModelProperty("用户id")
    private Integer  userId;
    @ApiModelProperty("商品id")
    private Integer productId;
    @ApiModelProperty("商品规格id")
    private Integer specId;
    @ApiModelProperty("数量")
    private Integer  quantity;
    @ApiModelProperty("状态")
    private Integer status;// 0-正常，1-商品已下架
    @ApiModelProperty("创建时间")
    private String createTime;// 加入购物车时间
}
